package com.geek.novel.adapter

import androidx.viewpager.widget.PagerAdapter
import android.view.View

class MainViewPagerAdapter(private var views: List<View>) : androidx.viewpager.widget.PagerAdapter() {
	
	override fun isViewFromObject(p0: View, p1: Any): Boolean {
		return p0 == p1
	}
	
	override fun getCount(): Int {
		return views.size
	}
	
}